FROM openjdk:8

MAINTAINER zhuyc

COPY ./demo1.jar /apps/
COPY ./start.sh /apps/

RUN chmod 775 /apps/start.sh

RUN rm -f /etc/localtime
RUN ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV JAVA_HOME /usr/local/openjdk-8

ENV LANG en_US.utf8

ENTRYPOINT /apps/start.sh
